import React from 'react'
// import iconFont from './iconfont/iconfont'
// eslint-disable-next-line
import './iconfont/iconfont'

const Icon = ({ type }) => {
  return (
    <div>
      <svg className="icon" aria-hidden="true">
        <use xlinkHref={`#${type}`} />
      </svg>
    </div>
  )
}

export default Icon